package sum.Entity;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

public class Student {
    private String student_id;
    private String chinese_name;
    private String english_name;
    private String tel;
    private String stu_class;
    private int semester;
    private Float mid_marks;
    private Float end_marks;
    private char stu_status;
    public String getStudent_id() {
        return student_id;
    }
    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }
    public String getChinese_name() {
        return chinese_name;
    }
    public void setChinese_name(String chinese_name) {
        this.chinese_name = chinese_name;
    }
    public String getEnglish_name() {
        return english_name;
    }
    public void setEnglish_name(String english_name) {
        this.english_name = english_name;
    }
    public String getTel() {
        return tel;
    }
    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getStu_class() {
        return stu_class;
    }
    public void setStu_class(String stu_class) {
        this.stu_class = stu_class;
    }
    public int getSemester() {
        return semester;
    }
    public void setSemester(int semester) {
        this.semester = semester;
    }
    public float getMid_marks() {
        return mid_marks;
    }
    public void setMid_marks(float mid_marks) {
        this.mid_marks = mid_marks;
    }
    public float getEnd_marks() {
        return end_marks;
    }
    public void setEnd_marks(float end_marks) {
        this.end_marks = end_marks;
    }
    public char getStu_status() {
        return stu_status;
    }
    public void setStu_status(char stu_status) {
        this.stu_status = stu_status;
    }

    public Student() {
    }
    public Student(String student_id, String chinese_name, String english_name, String tel, String stu_class, int semester, float mid_marks, float end_marks, char stu_status) {
        this.student_id = student_id;
        this.chinese_name = chinese_name;
        this.english_name = english_name;
        this.tel = tel;
        this.stu_class = stu_class;
        this.semester = semester;
        this.mid_marks = mid_marks;
        this.end_marks = end_marks;
        this.stu_status = stu_status;
    }
    @Override
    public String toString() {
        return "Student{" +
                "student_id=" + student_id +
                ", chinese_name='" + chinese_name + '\'' +
                ", english_name='" + english_name + '\'' +
                ", tel='" + tel + '\'' +
                ", stu_class='" + stu_class + '\'' +
                ", semester=" + semester +
                ", mid_marks=" + mid_marks +
                ", end_marks=" + end_marks +
                ", stu_status=" + stu_status +
                '}';
    }
}
